package com.seecen.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 窗帘安装订单表
 * @TableName curtain_order
 */
@TableName(value = "curtain_order")
@Data
public class CurtainOrder implements Serializable {
    @TableId(type = IdType.AUTO)
    @TableField("orderId")
    private Long orderid;

    @TableField("userId")
    private Long userid;

    @TableField("serviceId")
    private Long serviceid;

    @TableField("status")
    private Integer status;

    @TableField("createTime")
    private Date createtime;

    @TableField("updateTime")
    private Date updatetime;

    @TableField("service_time")
    private Date serviceTime;

    @TableField("address")
    private String address;

    @TableField("province_id")
    private Long provinceId;

    @TableField("city_id")
    private Long cityId;

    @TableField("fastest_arrival_time")
    private Integer fastestArrivalTime;

    // 窗帘安装特有字段
    @TableField("curtain_quantity")
    private Integer curtainQuantity;

    @TableField("item_type")
    private String itemType;

    @TableField("install_height")
    private String installHeight;

    @TableField("track_type")
    private String trackType;

    @TableField("wall_material")
    private String wallMaterial;

    @TableField("track_length")
    private Double trackLength;

    @TableField("need_hang_curtain")
    private String needHangCurtain;

    @TableField("pictures")
    private String pictures;

    @TableField("demand_description")
    private String demandDescription;

    @TableLogic
    @TableField("isdeleted")
    private Integer isdeleted;

    private static final long serialVersionUID = 1L;
}
